from abc import ABC, abstractmethod

class Fruit(ABC):
    @abstractmethod
    def className(self):
        print("fruit")

class Apple(Fruit):
    def className(self):
        print("apple")

class Orange(Fruit):
    def className(self):
        print("orange")




if __name__ == '__main__':
    a = Apple()
    a.className()
    o = Orange()
    o.className()
